function get_content(url_read, url_write, domain_used, biov_domain, id){	

var q  = '{"query":[{"name":null,'+
					'"guid":null,'+
					'"id":"'+id+'",'+
					'"type":"'+biov_domain+'product",'+
					'"developed_by":[{"*":null,"optional":true}],'+
					'"sales":[{"*":null,"optional":true}],'+
					'"technology_involved":[{"*":null,"optional":true}]'+
					'}]}';
					
	perform_freebase_read(
		url_read,
		q,
		function (msg) {
			var product = null;
			product = msg.result[0];
	        if (!product) return;
	        
	        //name
	        var name = product.name;
	        $('#title').text(name);

			var product_info = Object();
			product_info.guid = product.guid;
			
			// Get the overview blurb
			var topic_domain = biov_domain+'product';
			jsonp_totalblurb_freebase(domain_used, name, topic_domain, 5000,
				function(m){
					$("#thumb").attr('src','http://'+domain_used+'/api/trans/image_thumb'+m.result[0].image.id);
				},
				function(m){
					$("#description").append($('<span>'+m.result.body+'</span>'));
				},
				function(m){});
							
			// Product developers:
	        if(product.developed_by.length > 0) {
	      		var h = ''
				for (var i in product.developed_by) {
					var company = product.developed_by[i];
					h += '<a href="'+create_bvr_topic_href('company', company.id)+'">' + company.name + '</a>'
					h += ( i < product.developed_by.length-1 ? ', ' :"");
				}
				h += '';
				h = $(h)
				$("#companies").append(h);  
			}
			
			// Product sales:
			if(product.sales.length > 0) {
      			var h = '<h2><span>Sales</span></h2>' +
	        	'<div>	<table id="salesTable" class="tablesorter" border="0" cellpadding="0" cellspacing="1">'+
				'<thead><tr><th>Amount ($)</th><th>Year</th><th>Area</th></tr></thead><tbody>'
				for (var i in sales.sales) {
					var amount = sales.sales[i].amount;
					var year = sales.sales[i].year;
					var area = sales.sales[i].area;
					h += '<tr>'
					h += '<td>'+split_numbers(amount)+'</td><td>'+year+'</td><td>'+area+'</td>'
					h += '</tr>'									
				}
				h += '</div>';
				h = $(h)
				$("#sales").append(h);
				$("#salesTable").tablesorter({
					// sort on the first column and third column, order asc
					sortList: [[0,0],[2,0]]
				});
			}
			
			// Technologies involved
			var technologies = product.technology_involved;
			if(technologies.length > 0) {
	        	var h = '<h2>Technologies Involved in this Product</h2>' +
	        	'<div>';
				for (var i in technologies) {
					var technology = technologies[i];
					h += '<a href="'+create_bvr_topic_href('technology', technology.id)+'">' + technology.name + '</a>'
					h += ( i < technologies.length-1 ? ', ' :"");
				}
				h += '</div>';
				h = $(h)
				$("#technologies").append(h); 
				
			}
			
			// Set up the EDIT Page:
			create_edit_form(url_write, domain_used, biov_domain, product_info);						
		},
		function(m){}
	);
}
